package com.base.common.enums;

/**
 * 通知类型
 * 
 * @author kat.luhongkai
 * 
 */
public enum MessageType {

	GOVERNMENT("政府公告", 2, "government_circular_id"), SPECIAL("专题活动", 1,
			"special_id"), TRAINING(
			"云端培训", 3, "cloud_training_id"), VILLAGE("小区通告", 0, "notification_in_community_id");

	private String datebaseField;
	private String name;
	private int value;

	MessageType(String name, int value, String datebaseField) {
		this.setName(name);
		this.setValue(value);
		this.setDatebaseField(datebaseField);
	}

	public String getDatebaseField() {
		return datebaseField;
	}

	public String getName() {
		return name;
	}

	public int getValue() {
		return value;
	}

	public void setDatebaseField(String datebaseField) {
		this.datebaseField = datebaseField;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setValue(int value) {
		this.value = value;
	}

}
